package com.example.photograph.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.example.photograph.common.annotation.Excel;
import com.example.photograph.common.core.domain.BaseEntity;

/**
 * 就业信息管理对象 sys_employment
 * 
 * @author ruoyi
 * @date 2021-05-01
 */
public class SysEmployment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 就业信息id */
    private Long employmentId;

    /** 所属用户id */
    private Long userId;

    /** 就业职位 */
    @Excel(name = "就业职位")
    private String position;

    /** 就业公司 */
    @Excel(name = "就业公司")
    private String company;

    /** 薪资 */
    @Excel(name = "薪资")
    private String salary;

    /** 工作城市 */
    @Excel(name = "工作城市")
    private String address;

    /** 就业信息版本 */
    private Long versions;

    /** 学院名称 */
    private String schoolName;

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    /** 专业名称 */
    private String majorName;

    public void setEmploymentId(Long employmentId) 
    {
        this.employmentId = employmentId;
    }

    public Long getEmploymentId() 
    {
        return employmentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setVersions(Long versions)
    {
        this.versions = versions;
    }

    public Long getVersions()
    {
        return versions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("employmentId", getEmploymentId())
            .append("userId", getUserId())
            .append("position", getPosition())
            .append("company", getCompany())
            .append("salary", getSalary())
            .append("address", getAddress())
            .append("versions", getVersions())
            .append("createTime", getCreateTime())
            .toString();
    }
}
